<?php
/**
 * DrugsPurchasedFixture
 *
 */
class DrugsPurchasedFixture extends CakeTestFixture {

/**
 * Table name
 *
 * @var string
 */
	public $table = 'drugs_purchased';

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 11, 'key' => 'primary'),
		'nome' => array('type' => 'string', 'null' => true, 'length' => 256),
		'data_fabricacao' => array('type' => 'date', 'null' => true),
		'data_validade' => array('type' => 'date', 'null' => true),
		'lote' => array('type' => 'string', 'null' => true, 'length' => 100),
		'preco_compra' => array('type' => 'float', 'null' => true),
		'preco_venda' => array('type' => 'float', 'null' => true),
		'quantidade' => array('type' => 'integer', 'null' => true),
		'user_id' => array('type' => 'integer', 'null' => true),
		'drug_id' => array('type' => 'integer', 'null' => true),
		'modified' => array('type' => 'datetime', 'null' => true),
		'created' => array('type' => 'datetime', 'null' => true),
		'indexes' => array(
			'PRIMARY' => array('unique' => true, 'column' => 'id')
		),
		'tableParameters' => array()
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'nome' => 'Lorem ipsum dolor sit amet',
			'data_fabricacao' => '2013-02-17',
			'data_validade' => '2013-02-17',
			'lote' => 'Lorem ipsum dolor sit amet',
			'preco_compra' => 1,
			'preco_venda' => 1,
			'quantidade' => 1,
			'user_id' => 1,
			'drug_id' => 1,
			'modified' => '2013-02-17 02:28:29',
			'created' => '2013-02-17 02:28:29'
		),
	);

}
